package com.eden.service;

import com.eden.common.R;
import com.eden.dto.LoginParam;
import com.eden.entity.SysUser;

public interface LoginService{
    //登录功能
    R login(LoginParam loginParam);

    SysUser checkToken(String token);

    R logout(String token);
    //注册
    R register(LoginParam loginParam);
}
